package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 出库单对象 outing
 * 
 * @author ruoyi
 * @date 2021-05-08
 */
public class Outing extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 单号 */
    private Integer id;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String proName;

    /** 项目编号 */
    @Excel(name = "项目编号")
    private String proNumber;

    /** 采购单编号 */
    @Excel(name = "采购单编号")
    private Integer purId;

    /** 发票号 */
    @Excel(name = "发票号")
    private String invoice;

    /** 0/1甲供乙购 */
    @Excel(name = "0/1甲供乙购")
    private Integer type;

    //入库单材料
    private List<PurchaseRecord> purchaseRecords;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setProName(String proName) 
    {
        this.proName = proName;
    }

    public String getProName() 
    {
        return proName;
    }
    public void setProNumber(String proNumber) 
    {
        this.proNumber = proNumber;
    }

    public String getProNumber() 
    {
        return proNumber;
    }
    public void setPurId(Integer purId) 
    {
        this.purId = purId;
    }

    public Integer getPurId() 
    {
        return purId;
    }
    public void setInvoice(String invoice) 
    {
        this.invoice = invoice;
    }

    public String getInvoice() 
    {
        return invoice;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }

    public List<PurchaseRecord> getPurchaseRecords() {
        return purchaseRecords;
    }

    public void setPurchaseRecords(List<PurchaseRecord> purchaseRecords) {
        this.purchaseRecords = purchaseRecords;
    }

    @Override
    public String toString() {
        return "Outing{" +
                "id=" + id +
                ", proName='" + proName + '\'' +
                ", proNumber='" + proNumber + '\'' +
                ", purId=" + purId +
                ", invoice='" + invoice + '\'' +
                ", type=" + type +
                ", purchaseRecords=" + purchaseRecords +
                '}';
    }
}
